<template>
<a-modal
      title="评阅信息录入"
      :visible="editVisible"
      @ok="handleSave"
      @cancel="handleClose"
    >
    <a-form>
            <a-row :gutter="48">
              <a-col :sm="{span:12}" :lg="{span:12}" :xl="{span:12}">
                <a-form-item label="是否匿名">
                  <a-select :allowClear="true" showSearch optionFilterProp="children" v-model="queryParam.zsnj">
                    <a-select-option v-for="i in TYPE0126" :key="i.id" :value="i.code">{{ i.name }}</a-select-option>
                  </a-select>
                </a-form-item>
              </a-col>
               <a-col :sm="{span:12}" :lg="{span:12}" :xl="{span:12}">
                <a-form-item label="评阅人">
                  <a-select :allowClear="true" showSearch optionFilterProp="children" v-model="queryParam.zsnj">
                    <a-select-option v-for="i in TYPE0126" :key="i.id" :value="i.code">{{ i.name }}</a-select-option>
                  </a-select>
                </a-form-item>
              </a-col>
              <a-col :sm="{span:12}" :lg="{span:12}" :xl="{span:12}">
                <a-form-item label="职称">
                  <a-select :allowClear="true" showSearch optionFilterProp="children" v-model="queryParam.zsnj">
                    <a-select-option v-for="i in TYPE0126" :key="i.id" :value="i.code">{{ i.name }}</a-select-option>
                  </a-select>
                </a-form-item>
              </a-col>
               <a-col :sm="{span:12}" :lg="{span:12}" :xl="{span:12}">
                <a-form-item label="单位">
                  <a-select :allowClear="true" showSearch optionFilterProp="children" v-model="queryParam.zsnj">
                    <a-select-option v-for="i in TYPE0126" :key="i.id" :value="i.code">{{ i.name }}</a-select-option>
                  </a-select>
                </a-form-item>
              </a-col>
              <a-col :sm="{span:12}" :lg="{span:12}" :xl="{span:12}" >
                <a-form-item label="是否硕导">
                  <a-select :allowClear="true" showSearch optionFilterProp="children" v-model="queryParam.bkyxsm" @change="yxChange">
                    <a-select-option v-for="i in selectMenu.yx" :key="i.id" :value="i.dwh">{{ i.dwh+'-'+i.dwmc }}</a-select-option>
                  </a-select>
                </a-form-item>
              </a-col>
              <a-col :sm="{span:12}" :lg="{span:12}" :xl="{span:12}" >
                <a-form-item label="是否博导">
                  <a-select :allowClear="true" showSearch optionFilterProp="children" v-model="queryParam.bkyxsm" @change="yxChange">
                    <a-select-option v-for="i in selectMenu.yx" :key="i.id" :value="i.dwh">{{ i.dwh+'-'+i.dwmc }}</a-select-option>
                  </a-select>
                </a-form-item>
              </a-col>
              <a-col :sm="{span:12}" :lg="{span:12}" :xl="{span:12}" >
                <a-form-item label="是否同意答辩">
                  <a-select :allowClear="true" showSearch optionFilterProp="children" v-model="queryParam.bkyxsm" @change="yxChange">
                    <a-select-option v-for="i in selectMenu.yx" :key="i.id" :value="i.dwh">{{ i.dwh+'-'+i.dwmc }}</a-select-option>
                  </a-select>
                </a-form-item>
              </a-col>
              <a-col :sm="{span:12}" :lg="{span:12}" :xl="{span:12}" >
                <a-form-item label="评阅成绩">
                  <a-select :allowClear="true" showSearch optionFilterProp="children" v-model="queryParam.bkyxsm" @change="yxChange">
                    <a-select-option v-for="i in selectMenu.yx" :key="i.id" :value="i.dwh">{{ i.dwh+'-'+i.dwmc }}</a-select-option>
                  </a-select>
                </a-form-item>
              </a-col>
              <a-col :sm="{span:24}" :xl="{span:12}" style="text-align:center">
                <a-button type="primary" >确定</a-button>
                <a-button type="primary" >取消</a-button>
              </a-col>
            </a-row>
          </a-form>
    </a-modal>
</template>

<script>
// import moment from 'moment'

export default {
  props: {
    editVisible: {
      default: false
    }
  },
  data () {
    return {
      queryParam: {
      },
      TYPE0126:[],
      selectMenu:{
        yx:[]
      }
    }
  },
  created () {
  },
  methods: {
    handleSave () {
    },
    handleClose () {
      this.$emit('close')
    },
    yxChange(){}
  }
}
</script>
